clipboard: Fix compiler warning
authorBenjamin Otte <otte@redhat.com>
Mon, 7 Jul 2014 17:42:59 +0000 (19:42 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 7 Jul 2014 18:06:40 +0000 (20:06 +0200)
Cast the type.

gtk/gtkclipboard-wayland.c

index 9e728025d0fc672856d33c2a96547b440999a461..ccd3cf7da4105542a795084803f2a1ed8c8dd344 100644 (file)
@@ -295,7 +295,7 @@ gtk_clipboard_wayland_request_contents (GtkClipboard            *gtkclipboard,
 
       n_atoms = gdk_wayland_device_get_selection_type_atoms (device, &atoms);
       selection_data.length = n_atoms;
-      selection_data.data = atoms;
+      selection_data.data = (guchar *) atoms;
 
       callback (gtkclipboard, &selection_data, user_data);
       return;